// 应该是一个card构成的List
ResultPanelCtl = Ext.extend(CmpControler, {

	bulidComponent : function() {

		var config = this.getCommonConfig();
		var item = new Ext.Panel(config);

		return item;
	},
	getCommonConfig : function() {

		var config = {
			layout : 'card',
			region : 'center',
			frame : true,
			autoScroll : true
		}

		return config;
	},
	active : function(node) {

		var cp = cf.getC(node.id);
		if(!cp){
			node.expand();
			return;
		}
		var cmp = this.cmp;
		var cpCmp = cp.getComponent();
		cmp.add(cpCmp);
		this.activeCard(cpCmp);
		
		cp.load(node);

	},
	activeCard : function(cpCmp) {

		var cmp = this.cmp;
		var layout = cmp.getLayout();
		layout.setActiveItem(cpCmp.id);
	}

});
